package com.ye.personnel.api.flow;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: yeubo
 * @Date: 2024/1/2 20:13
 */
@Data
public class FlowHistoryListVo {

    @ApiModelProperty("历史记录id")
    private String historyId;

    @ApiModelProperty("记录标题")
    private String historyTitle;

    @ApiModelProperty("审核状态 0 待审核(checkAllow == 1 && checkStatus == 0 展示审核按钮) 1 审核通过 2 审核拒绝 3 发起节点")
    private Integer checkStatus;

    @ApiModelProperty("拒绝理由")
    private String refuseReason;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createdTime;

    @ApiModelProperty("附件列表")
    private List<FlowAttachmentListVo> attachmentList;
}
